package com.ln.lnzw.activity;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import com.ln.lnzw.R;
import com.ln.lnzw.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by wuwei on 2018/5/4.
 * 办件查询结果页面
 */

public class InquiriesResultActivity extends BaseActivity {

    @BindView(R.id.iv_back)
    ImageView ivBack;
    @BindView(R.id.tv_zhuangtai)
    TextView tvZhuangtai;
    @BindView(R.id.tv_shenqingbianhao)
    TextView tvShenqingbianhao;
    @BindView(R.id.tv_shixiangmingcheng)
    TextView tvShixiangmingcheng;
    @BindView(R.id.tv_shoulibumen)
    TextView tvShoulibumen;
    @BindView(R.id.tv_dangqianzhuangtai)
    TextView tvDangqianzhuangtai;
    @BindView(R.id.tv_chuangjianriqi)
    TextView tvChuangjianriqi;
    private String Zhuangtai;
    private String Shenqingbianhao;
    private String Shixiangmingcheng;
    private String Shoulibumen;
    private String Dangqianzhuangtai;
    private String Chuangjianriqi;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_inquiries_result);
        ButterKnife.bind(this);
        Zhuangtai=getIntent().getStringExtra("Zhuangtai");
        Shenqingbianhao= getIntent().getStringExtra("Shenqingbianhao");
        Shixiangmingcheng= getIntent().getStringExtra("Shixiangmingcheng");
        Shoulibumen= getIntent().getStringExtra("Shoulibumen");
        Dangqianzhuangtai=getIntent().getStringExtra("Dangqianzhuangtai");
        Chuangjianriqi=getIntent().getStringExtra("Chuangjianriqi");
        setView();
    }

    private void setView() {
         tvZhuangtai.setText(Zhuangtai);
         tvShenqingbianhao.setText(Shenqingbianhao);
         tvShixiangmingcheng.setText(Shixiangmingcheng);
         tvShoulibumen.setText(Shoulibumen);
         tvDangqianzhuangtai.setText(Dangqianzhuangtai);
         tvChuangjianriqi.setText(Chuangjianriqi);
    }

    @OnClick(R.id.iv_back)
    public void onViewClicked() {
        finish();
    }
}
